home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXSSSSGGGGIIIIvvvvcccc((((3333)))) XXXXSSSSGGGGIIIIvvvvcccc((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- XSGIvc - Control video operation
-
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- The XSGIvc extension permits user control of video operation
- on Silicon GraphicsTM base graphics hardware.
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This X extension provides a range of services to permit
- programmatic user control of video operations on the base
- graphics hardware. This extension does not provide a means
- to control optional video hardware such as
- SiriusVideo(Reg.); optional video is controlled via
- VideoLibrary(3).
-
- Examples of control include loading video formats, setting
- video output gain, setting pedestal, and changing H-phase.
-
-
- CCCChhhhaaaannnnnnnneeeellll
- The optional notion of channel adds a tangential dimension
- to the existing X hierarchy of display and Screen. Put
- briefly, a single Screen's managed area may be subdivided
- into channels, each a physical output which displays some or
- all of the Screen. Typically, a channel's output is to a
- physical connection on the server.
-
- Some graphics hardware has only one channel; other kinds of
- graphics hardware implement many channels.
-
- Neither the OpenGL(Reg.) nor standard X drawing contain the
- notion of channel, and images are simply rendered to a
- single managed area, or _S_c_r_e_e_n. The portions of the managed
- area produced on the physical outputs are specified by the
- video format or video format combination (see description of
- Combination below).
-
- Most XSGIvc functions require you specify a channel number
- which specifies on which physical channel the operation
- should be performed. The channel number can be specified
- directly; client applications may determine the number of
- channels on a server via the XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo
- function. Channel numbers range _0 to (_n_u_m_C_h_a_n_n_e_l_s - _1).
-
- For most functions, you must also specify the screen on
- which the channel is located. The macros SSSSccccrrrreeeeeeeennnnCCCCoooouuuunnnntttt and
- DDDDeeeeffffaaaauuuullllttttSSSSccccrrrreeeeeeeennnn may be of some value in determining the screen
- number.
-
- A server may offer channels with varying capabilities and
-
-
-
- Page 1 (printed 4/30/98)
-
-
-
-
-
-
- XXXXSSSSGGGGIIIIvvvvcccc((((3333)))) XXXXSSSSGGGGIIIIvvvvcccc((((3333))))
-
-
-
- attributes, so it will not do to presume a uniform
- arrangment if only one channel is queried. For each
- channel, query the capabilities before performing
- operations.
-
-
- CCCCoooonnnnttttrrrroooollllssss
- The video output of a graphics pipe may have a number of
- alterations, or _c_o_n_t_r_o_l_s, that can be made to change its
- operation. Different graphics hardware may support
- different controls, and different channels on a single
- graphics hardware may support different controls. The
- calling program should query the capabilities and
- characteristics of a control for a channel via the function
- XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyCCCChhhhaaaannnnnnnneeeellllIIIInnnnffffoooo. The documentation accompanying
- graphics hardware may also contain information on which
- channels controls are available.
-
- Each control has a XXXXSSSSGGGGIIIIvvvvccccSSSSeeeetttt<_c_o_n_t_r_o_l>,,,, and a
- XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyy<_c_o_n_t_r_o_l>,,,, function associated with it. The Set
- function allows you to change the setting or state of
- operation. The Query function returns to you the extant
- settings. The <_c_o_n_t_r_o_l> is the name of the control to be
- changed or queried; for example, XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnn and
- XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnn both deal with output gain.
-
- The Query function returns to you information about the
- capabilities or range of values permitted by the server (as
- different servers may have different ranges of legal
- values). The query function returns True if the server
- supports the function, False if the server does not support
- it. On servers with more than one output channel, you will
- need to query the characteristics for each channel, since
- different channels may have different capabilities.
-
-
- EEEEvvvveeeennnnttttssss uuuunnnniiiiqqqquuuueeee ttttoooo XXXXSSSSGGGGIIIIvvvvcccc
- XSGIvc offers a unique event type which has several sub-
- types. One large use of these events permits the client
- program to monitor changes made to the different channel's
- parameters by other client programs.
-
- Another use of events communicates asynchronous hardware
- state changes (e.g., external lock status) to the client
- program.
-
-
- CCCCoooommmmbbbbiiiinnnnaaaattttiiiioooonnnn
- Some servers with multiple channels permit independent
- alteration of video format resolution and timing. Other
- servers may require that only a compatible ensemble of
- formats, a _c_o_m_b_i_n_a_t_i_o_n, may be loaded. The combination may
-
-
-
- Page 2 (printed 4/30/98)
-
-
-
-
-
-
- XXXXSSSSGGGGIIIIvvvvcccc((((3333)))) XXXXSSSSGGGGIIIIvvvvcccc((((3333))))
-
-
-
- either reference or include other video formats; it may
- additionally include frame buffer configuration information
- and default control settings for both Screen and channel.
-
- Combinations are prepared independently
-
-
- FFFFIIIILLLLEEEESSSS
- The system administrator may specify configuration
- information to the server extension via database files.
-
-
- mmmmoooonnnniiiinnnnffffoooo
- Describes characteristics of different monitor models.
-
-
- cccchhhhaaaannnnttttaaaabbbb
- Describes which monitor is connected to which channel and
- gives instructions regarding automatic monitor queries.
-
-
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
- The following are major functions available for use.
-
-
- AAAAddddmmmmiiiinnnniiiissssttttrrrraaaattttiiiivvvveeee
- XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyCCCChhhhaaaannnnnnnneeeellllIIIInnnnffffoooo - Query channel information for a
- specific channel
-
- XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyVVVViiiiddddeeeeooooSSSSccccrrrreeeeeeeennnnIIIInnnnffffoooo - Query video information for the
- screen
-
-
- CCCCoooonnnnttttrrrroooollll
- XXXXSSSSGGGGIIIIvvvvccccSSSSeeeetttt<_c_o_n_t_r_o_l> ---- Set the value for a particular control
- on an output channel
-
- XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyy<_c_o_n_t_r_o_l> ---- Get the extant value for a particular
- control on an output channel
-
- XXXXSSSSGGGGIIIIvvvvccccLLLLooooaaaaddddVVVViiiiddddeeeeooooFFFFoooorrrrmmmmaaaatttt - Changes the video format of a
- channel
-
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- X, XSGIvcSetOutputPhaseSCH, XSGIvcSetOutputGain,
- XSGIvcSetOutputPhaseV, XSGIvcSetOutputPedestal,
- XSGIvcSetOutputPhaseH, XSGIvcSetOutputSync,
- XSGIvcStoreGammaColors8, moninfo, chantab
-
-
-
-
- Page 3 (printed 4/30/98)
-
-
-
-